package cn.iocoder.yudao.module.biobee.service.plot;

import cn.iocoder.yudao.module.biobee.controller.admin.plot.vo.PlotSubmitTaskReqVO;
import cn.iocoder.yudao.module.biobee.controller.admin.plot.vo.PlotUploadFileReqVO;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;

import java.io.IOException;

public interface PlotService {

    void submitTask(@Valid PlotSubmitTaskReqVO plotSubmitTaskReqVO) throws IOException;

    void uploadFile(@Valid PlotUploadFileReqVO plotUploadFileReqVO) throws IOException;

    void downloadResult(HttpServletResponse response, String projectId, String taskId, String fileName) throws IOException;
    void downloadExample(HttpServletResponse response, String projectType, String taskType, String fileName) throws IOException;
}
